<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">	
				var num = 0;
				var o = 0;
				for( var a = 2 ; a < 100 ; a++ ){
					for( var i = 2 ; i < a ; i++ ){
						if( a % i == 0){
							o = 1;
						}
					}
					if(o == 0){
						num = num + a;
					}else{
						o = 0 ;
					}
					
				}
				alert(num);
		</script>
	</head>
	<body>
	</body>
</html>
